﻿using System.Collections.Generic;
using System.Web.Mvc;
using IT.CMS.Web.Framework;
using IT.CMS.Web.Framework.Mvc;

namespace IT.CMS.Web.Areas.Administration.Models.Catalog
{
    public partial class ProductListModel : BaseCmsModel
    {
        public ProductListModel()
        {
            AvailableCategories = new List<SelectListItem>();
            AvailableManufacturers = new List<SelectListItem>();
            AvailableSites = new List<SelectListItem>();
        }
        [CmsResourceDisplayName("Admin.Catalog.Products.List.SearchProductName")]
        [AllowHtml]
        public string SearchProductName { get; set; }

        [CmsResourceDisplayName("Admin.Catalog.Products.List.SearchCategory")]
        public int SearchCategoryId { get; set; }

        [CmsResourceDisplayName("Admin.Catalog.Products.List.SearchManufacturer")]
        public int SearchManufacturerId { get; set; }

        [CmsResourceDisplayName("Admin.Catalog.Products.List.SearchSite")]
        public int SearchSiteId { get; set; }

        [CmsResourceDisplayName("Admin.Catalog.Products.List.GoDirectlyToSku")]
        [AllowHtml]
        public string GoDirectlyToSku { get; set; }

        public bool DisplayProductPictures { get; set; }
        public bool DisplayPdfDownloadCatalog { get; set; }



        public IList<SelectListItem> AvailableCategories { get; set; }
        public IList<SelectListItem> AvailableManufacturers { get; set; }
        public IList<SelectListItem> AvailableSites { get; set; }
    }
}